#ifndef MINICALQUE_H
#define MINICALQUE_H

#include "ui_calque.h"
#include "Layer/layer.h"

class DrawingArea;

class MiniCalque : public QWidget
{
    Q_OBJECT
public:
    MiniCalque(DrawingArea* drawing,Layer* layerMiniCalque,bool currentLayer);
    void focusCurrent();
    DrawingArea* drawingMiniCalque;
    Layer* layerMiniCalque;

protected:
    void mousePressEvent ( QMouseEvent * event ) ;

protected slots:
    void changeEtatVisible();
};

#endif // MINICALQUE_H
